﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NewSangoBang
{
    public delegate void GetMessage(string message);

    class EventHolder
    {
        public event GetMessage ToGetMessage;

        public EventHolder()
        {
        }
        public void OnToGetMessage(string message)
        {
            if (ToGetMessage != null)
                ToGetMessage(message);
        }

    }
}
